package chat.whiteboard.components;


import java.awt.Font;
import java.awt.event.ActionListener;

import javax.swing.JComboBox;

import chat.whiteboard.WhiteBoardController;
import chat.whiteboard.utils.classes.CustomColor;


public class FontComboBox extends JComboBox implements ICommand {
	private WhiteBoardController controller = null;

	public FontComboBox(ActionListener act,WhiteBoardController controller){
		this.controller = controller;
		addActionListener(act);
		controller.registerFontComboBox(this);
	}
	@Override
	public void execute() {
		System.out.println("Font combobox");
//		Font c_font = ((CustomFont)this.getModel().getSelectedItem()).getFont();
//		controller.setFont(c_font);
	}

}
